<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template header}
    <div id="app">
        <div>
           	<header class="top">
                <span>{$pageTitle}</span> 
                <a href="{U('member/index')}" class="iconfont back"></a> 
           	</header> 
           	<div class="main manageBankcard">
                <div class="innerWrap">
                	{loop $userBindList as $uk => $uv}
                     	<div class="surperise">
                          	<div class="wrap">
                           		<img src="http://imagess-google.com/system/common/bank/ABC.png" class="fl" /> 
                               	<div class="text">
                                    <strong>{$bankCateIdKey[$uv['bank']]['name']}</strong> 
                                    <p>尾号：{$uv['rebankcard']}</p>
                               	</div> 
                               	<div class="fr">
                                    <a style="font-size: .9em; line-height: 2.7777em; color: #989898;">未锁定</a> 
                                    <a href="{U('member/bindcard', array('a' => 'edit', 'id' => $uv['id']))}" class="modify" style="color: #dc2e2e;">修改</a> 
                               	</div>
                          	</div>
                     	</div>
                 	{/loop}
                </div> 
                {if ($uk + 1) < 5}
                    <div style="width: 14.4rem; height: 2.2em; margin: 1em auto 0; line-height: 2.2em; text-align: center; background: #dc3b40; border-radius:5px 5px 5px 5px;" class="">
                 		<a style="font-size: .9em; width: 100%; height: 100%; text-align: center; color: #fff;" href="{U('member/bindcard')}">添加银行卡</a>
                	</div> 
            	{/if}
                <div style="width: 14rem; padding: .5em; margin: 1em auto .2em; font-size: .8em; line-height: 1.5em; border: 1px solid #f8e2b9; background: #fffdeb; color: #f46e00;">
                 	您已绑定{if $uk} {$uk + 1} {else} 0 {/if}张银行卡，一共可以绑定5张银行卡。为了您的资金安全，成功提现的银行卡会自动锁定，无法删除和修改。
                </div>
           	</div> 
        </div>
    </div>
{template footer}
</html>